<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 去重[3,4,56,67,3,5,24,45,23,4,23,4]
        let arr=[3,4,56,67,3,5,24,45,23,4,23,4];
        let arr2=new Set(arr)
       let arr3=Array.from(arr2)
        console.log(arr3)
    </script>
</body>
</html>